﻿@model Opds4Net.Web.Models.Book

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Book</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Author</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Author)
    </div>

    <div class="display-label">Publisher</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Publisher)
    </div>

    <div class="display-label">IssueTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IssueTime)
    </div>

    <div class="display-label">MimeType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MimeType)
    </div>

    <div class="display-label">FileSize</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FileSize)
    </div>

    <div class="display-label">OriginalPrice</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OriginalPrice)
    </div>

    <div class="display-label">SalePrice</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SalePrice)
    </div>

    <div class="display-label">DownloadAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DownloadAddress)
    </div>

    <div class="display-label">UpdateTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UpdateTime)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
